@import "./base";


html {
  font-size: 100 / 1920 * 100 + 0vw;
}

body {
  font-size: .14rem;
}


@media screen and (max-width: 1280px) {
  html {
    font-size: 66.66666px;
  }
}

@media screen and (min-width: 1920px) {
  html {
    font-size: 100px;
  }
}

body, textarea {
  font-family: "Microsoft YaHei","微软雅黑",Arial,sans-serif;
}

body {
  margin: 0;
  min-width: 12rem;
  letter-spacing: 1px;
}

main {
  font-size: 0.14rem;
}

@import "./bootstrap";

.ui-pos-a-full {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.ui-poa-h-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.ui-poa-center-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ui-cus-pointer {
  cursor: pointer;
}

.ui-full-w {
  width: 100%;
}

.ui-full-h {
  height: 100%;
}

.ui-pos-a-full {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.ui-hover-image {
  background-repeat: no-repeat;
  background-size: cover;
  > img {
    display: none;
  }
  > img:first-child {
    display: block;
  }
  &:hover {
    > img:first-child {
      display: none;
    }
    > img:nth-child(2) {
      display: block;
    }
  }
}

.ui-pos-vcenter {
  top:50%;
  transform: translateY(-50%);
}

.ui-pos-ccenter {
  left: 50%;
  top:50%;
  transform: translate(-50%, -50%);
}

.ui-flex-1 {
  flex: 1;
}

.ui-text-decoration-none {
  text-decoration: none;
}

.ui-text-decoration-underline {
  text-decoration: underline;
}

.ui-text-decoration-line-through {
  text-decoration: line-through;
}

.ui-inline-flex {
  display: inline-flex;
}

// @depretached
.ui-container {
  width: 11.81rem;
}

.app-container {
  width: 11.81rem;
}

@for $v from 12 to 60 {
  .text-sz-#{""  + $v} {
    font-size: .12rem + (.01rem * ($v - 12));
  }
  .ui-line-height-rem-#{""  + $v} {
    line-height: .12rem + (.01rem * ($v - 12));
  }
}

